﻿<%template _header%>
<!--header end-->


<!--主体-->
<script type="text/javascript">
	function checkSetting()
	{
		if (_$('receiveuser').checked)
		{
			_$('showhint').disabled = false;
		}
		else
		{			
			_$('showhint').checked = false;
			_$('showhint').disabled = true;
		}
	}
</script>
<div class="layout-cols2">
	<div class="col1">
		<div class="box">
		<div class="caption">消息设置</div>
			<div class="content">

					<%if ErrorCount==0%>
						<%if IsPost%>
							<%template _msgbox%>
						<%else%>
						<form action="" method="post" ID="postpmset">
						<table width ="100%" class="table-box">
						<tr><td width ="150px">
						<label for="PmSound" class="labellong2" style="line-height:180%;">短消息提示音:</label></td>
						<td>
							<select name="PmSound" id="PmSound">
							  <option value="0" 
							  <%if {PmSound}==0%>
							  selected="selected"
							  <%/if%>
							  >无</option>							  
							  <option value="1" 
							  <%if {PmSound}==1%>
							  selected="selected"
							  <%/if%>
							  >提示音1</option>							  
							  <option value="2" 
							  <%if {PmSound}==2%>
							  selected="selected"
							  <%/if%>
							  >提示音2</option>							  
							  <option value="3" 
							  <%if {PmSound}==3%>
							  selected="selected"
							  <%/if%>
							  >提示音3</option>			
							  <option value="4" 
							  <%if {PmSound}==4%>
							  selected="selected"
							  <%/if%>
							  >提示音4</option>			
							  <option value="5" 
							  <%if {PmSound}==5%>
							  selected="selected"
							  <%/if%>
							  >提示音5</option>
							  </select>
							</td></tr>
							<tr>
							<td>
							<label for="receivesetting" class="labellong2" style="line-height:180%;">接收设置:</label></td>
							<td>
							<input id="receiveuser" onclick="checkSetting();" type="checkbox" name="receivesetting" value="2" <%if {ReceivePmsetting}==2 || {ReceivePmsetting}==3%>checked="checked"<%/if%><%if {ReceivePmsetting}==6 || {ReceivePmsetting}==7%>checked="checked"<%/if%>/>接收用户短消息
							<input id="showhint" onclick="checkSetting();" type="checkbox" name="receivesetting" value="4" <%if  {ReceivePmsetting}==0%>disabled<%/if%><%if {ReceivePmsetting}==1 ||  {ReceivePmsetting}==5%>disabled<%/if%><%if {ReceivePmsetting}>4%>checked="checked"<%/if%>/>显示短消息提示框
							</td>
							</tr>
							
						<tr><td colspan ="2" align ="right">
							<input type="submit" name="Submit" value="确定" class="buttonstyle" ID="Submit1"/>
						</td></tr>
						</table>
						</form>
						
						
						<%/if%>
					<%else%>
					<%template _memerrmsgbox%>
					<%/if%>

		</div>
	</div>
</div>
	<div class="col2">
	    
	    <%template _Menu%>
	    
	</div>
	</div>
<!--主体-->

<%template _footer%>
